
--[[
local _style_table = {
	global = {
		lines = 10,
		font = dxCreateFont ( "fonts/Rodriguez_Geometric Paper.ttf",10,true ) ,
		posX = scaleIntPercent(screenWidth,80), 
		posY = scaleIntPercent(screenHeight,25),
		algin = "left",
		fadetime = 5000,
		cache = {},
	},	
	personal = {
		lines = 5,
		font = dxCreateFont ( "fonts/visitor.ttf",14 ) ,
		posX = scaleIntPercent(screenWidth,50), 
		posY = scaleIntPercent(screenHeight,85),
		algin = "left",
		fadetime = 5000,
	},
}
playerZoneName = "Chujnia i Chuj" 
target = dxCreateRenderTarget( 600, 300, true) 
local screenWidth, screenHeight = guiGetScreenSize ( )
local alpha = 255
local add = false

		dxSetRenderTarget( target )
				local c = math.random( -2, 2 )
				dxDrawTextBoreder( "#6eda00 [ANO]Mate_   #dcdcdc[AK-47]   #d02c2c [ANO]Pucek", " [ANO]Mate_   [AK-47]    [ANO]Pucek", 0, 10 , tocolor( 255, 255, 255, 255 ), 1, _style_table.global.font, 2 )
				dxDrawTextBoreder( "#d02c2c [ANO]Pucek   #dcdcdc[MP5]   #6eda00 [ANO]Mate_", " [ANO]Pucek   [MP5]    [ANO]Mate_", 0, 40 , tocolor( 255, 255, 255, 255 ), 1, _style_table.global.font, 2 )
				dxDrawTextBoreder( "#6eda00 [ANO]Mate_   #dcdcdc[AK-47]   #d02c2c [ANO]Pucek", " [ANO]Mate_   [AK-47]    [ANO]Pucek", 0, 70 , tocolor( 255, 255, 255, 255 ), 1, _style_table.global.font, 2 )
				dxSetRenderTarget()  	

		add = false
		setTimer( function()	
		target212 = target
		dxSetRenderTarget( target212, true )
				local c = math.random( -2, 2 )
				dxDrawTextBoreder( "#d02c2c [ANO]Pucek   #dcdcdc[MP5]   #6eda00 [ANO]Mate_", " [ANO]Pucek   [MP5]    [ANO]Mate_", 0, 10 , tocolor( 255, 255, 255, 255 ), 1, _style_table.global.font, 2 )
			dxSetRenderTarget()  
		add = true	
		end, 500, 1)	
		addEventHandler( "onClientRender", getRootElement(), function()
			
			if  add == true then
			
				alpha = math.min( 255,  alpha +20 )
			end	
			if add == false  then
				alpha = math.max( alpha -20, 0 )
			end
				     				
				dxDrawImage(_style_table.global.posX, _style_table.global.posY,   600,  300, target ,0,0,0,tocolor(255,255,255,alpha),true ) 
			--	dxDrawImage(_style_table.personal.posX, _style_table.personal.posY,   600,  300, target212 ,0,0,0,tocolor(255,255,255,255),true ) 
				
			end )
			
			
		]]